BitApps\FM\Providers\PermissionsProvider C

Total Complexity 104
Dependencies 6
Dependents 2
Total lines 447
Lines of code 292
Logical lines of code 127
Comment lines 42
Methods 40
Properties 5

Methods 40

Method Rating Maintainability Complexity Lines of code
getGuestPermissions()
A
53 8 25
getPermissions()
A
56 8 19
currentUserCanRun()
A
56 8 17
getPath()
S
56 7 17
getPublicRootPathByCriteria()
S
61 7 11
getDisabledCommand()
S
60 5 13
getEnabledCommand()
S
60 5 13
isRequestForAdminArea()
S
68 3 7
currentUserRole()
S
70 3 6
getURL()
S
69 3 6
currentUser()
S
70 3 6
getPathByFolderOption()
S
65 3 10
__construct()
S
60 2 13
allCommands()
S
59 1 17
getPublicRootURL()
S
73 2 5
isDisabledForAdmin()
S
75 2 4
getUserDisplayName()
S
78 2 3
isCurrentRoleHasPermission()
S
69 2 7
isCurrentUserHasPermission()
S
69 2 7
currentUserID()
S
71 2 6
getPublicRootPath()
S
73 2 5
getFolderOption()
S
78 2 3
isCommonFolderEnabled()
S
78 2 3
getMaximumUploadSize()
S
75 2 4
getEnabledFileType()
S
76 2 4
mappedUsers()
S
66 2 8
defaultPermissions()
S
62 1 11
refresh()
S
72 1 6
getVolumeAlias()
S
81 1 3
getByUser()
S
79 1 3
getByRole()
S
79 1 3
getDefaultPublicRootPath()
S
82 1 3
permissionsForCurrentUser()
S
80 1 3
permissionsForCurrentRole()
S
80 1 3
getPublicRootPathForRole()
S
79 1 3
getPublicRootPathForUser()
S
79 1 3
allUsers()
S
82 1 3
updatePermissionSetting()
S
79 1 3
allRoles()
S
82 1 3
getDefaultPublicRootURL()
S
82 1 3